Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> body { color: red; } h1 { color: #00ff00; } p.ex { color: rgb(0,0,255); } </style> </head> <body> <h1>This is heading 1</h1> <p>This is an ordinary paragraph. Notice that this text is red. The default text-color for a page is defined in the body selector.</p> <p class="ex">This is a paragraph with class="ex". This text is blue.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_color by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:05 GMT --> </html>
Result:
Try it Yourself - © w3schools.com